<!DOCTYPE html>
<html>

<head>
	<title>赔率设置-正码</title>
	<meta charset="utf-8">
	<link rel="shortcut icon" href="favicon.ico">
	<link href="__STATIC__/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
	<link href="__STATIC__/css/font-awesome.css" rel="stylesheet">
	<link href="__STATIC__/css/plugins/iCheck/custom.css" rel="stylesheet">
	<link href="__STATIC__/css/animate.css" rel="stylesheet">
	<link href="__STATIC__/css/style.css?v=4.1.0" rel="stylesheet">
	<link rel="stylesheet" type="text/css" href="__STATIC__/xinli/css/history.css">
	<style type="text/css">
		.memu>span>a {
			color: yellow;
		}

		.middle-line1-content {
			width: 99%;
			background-color: rgba(182, 171, 171, 0.56);
			font-size: 12px;
			border: 1px solid rgba(128, 128, 128, 0.72);
			border-radius: 5px;
			margin: 0 auto;
		}

		.middle-line1-content>div {
			margin-top: 3px;
			padding: 3px 0;
		}

		.plate {
			float: left;
			width: 10%;
			color: black;
			text-align: center;
		}

		.hangkong {
			float: left;
			width: 80%;
		}

		.hangkong>span>a {
			padding: 0 2px;
			color: red;
		}

		.issue {
			float: left;
			width: 10%;
			color: black;
		}

		.open {
			width: 100%;
			padding: 5px 10px;
		}

		.open-one {
			width: 20%;
			float: left;
			height: 350px;
		}

		.open-name>th {
			background: rgb(224, 139, 46);
			color: white;
			padding: 2px;
			text-align: center;
			border: 2px solid silver;
		}

		.open-thing>td {
			background: rgb(240, 240, 240);
			color: black;
			padding: 2px;
			text-align: center;
			border: 2px solid silver;
			font-size: 15px;
		}

		.open-thing>td:last-child {
			font-size: 12px;
		}


		.open-thing>td>input {
			width: 45px;
			font-size: 12px;
			border-radius: 3px;
			border: 1px solid gray;
			text-align: center;
		}

		.redorblue {
			text-align: center;
			padding: 10px 0;
			border: 1px solid gray;
		}

		.sendout>button {
			font-size: 12px;
			border: 1px solid gray;
			border-radius: 3px;
			color: black;
		}

		.sendup {
			margin-left: 30px;
		}

		.sendup>button {
			border: 1px solid gray;
			border-radius: 3px;
			color: black;
		}
	</style>
</head>

<body>
	<div>
		<div class="heads">
			<div class="poly">保利</div>
			<div style="clear: both;"></div>

		<div style="position: relative;width: 80%;float: right;">
			<div class="arrow-left"></div>
			<div class="memus" style="height: 30px;">
				<div class="bevel"></div>
				<div style="clear: both;"></div>
		{switch name=":session('usertype')"}
    {case value="1"}
				<span><a href="{:url('admin/home/plate')}">开封盘</a></span>
				<span><a href="{:url('admin/home/oddstema')}">赔率设置</a></span>
				<span><a href="{:url('admin/Single/injection')}">即时注单</a></span>
				<span><a href="{:url('admin/home/replenishment')}">补货</a></span>
				<span><a href="{:url('admin/home/director')}">总监</a></span>
				<span><a href="{:url('admin/home/bigshareholders')}">大股东</a></span>
				<span><a href="{:url('admin/home/shareholders')}">股东</a></span>
				<span><a href="{:url('admin/home/bigangent')}">总代理</a></span>
				<span><a href="{:url('admin/home/angent')}">代理</a></span>
				<span><a href="{:url('admin/home/members')}">会员</a></span>
				<!-- <span><a href="{:url('admin/home/Traders')}">操盘员</a></span> -->
				<span><a href="{:url('admin/home/system')}">系统配置</a></span>
				<span><a href="{:url('admin/home/Notice')}">公告</a></span>
				<span><a href="{:url('admin/home/notecheck')}">注单查询</a></span>
				<span><a href="{:url('admin/home/red')}">报表</a></span>
				<span><a href="{:url('admin/home/fot')}">客服</a></span>
				<span><a href="{:url('admin/home/Onlinepersonnel')}">在线人员</a></span>
				<span><a href="{:url('admin/login/logout')}">登出</a></span>
    {/case}
    {case value="2"}
    		{switch name=":session('roots')"}
    		 {case value="0"}
				<span><a href="{:url('admin/Single/injection')}">即时注单</a></span>
				<span><a href="{:url('admin/home/replenishment')}">补货</a></span>
				<span><a href="{:url('admin/home/bigshareholders')}">大股东</a></span>
				<span><a href="{:url('admin/home/shareholders')}">股东</a></span>
				<span><a href="{:url('admin/home/bigangent')}">总代理</a></span>
				<span><a href="{:url('admin/home/angent')}">代理</a></span>
				<span><a href="{:url('admin/home/members')}">会员</a></span>
				<span><a href="{:url('admin/home/notecheck')}">注单查询</a></span>
				<span><a href="{:url('admin/home/red')}">报表</a></span>
				<span><a href="{:url('admin/home/Onlinepersonnel')}">在线人员</a></span>
				<span><a href="{:url('admin/login/logout')}">登出</a></span>
				 {/case}
				{case value="1"}
				<span><a href="{:url('admin/home/plate')}">开封盘</a></span>
				<span><a href="{:url('admin/home/oddstema')}">赔率设置</a></span>
				<span><a href="{:url('admin/Single/injection')}">即时注单</a></span>
				<span><a href="{:url('admin/home/replenishment')}">补货</a></span>
				<span><a href="{:url('admin/home/bigshareholders')}">大股东</a></span>
				<span><a href="{:url('admin/home/shareholders')}">股东</a></span>
				<span><a href="{:url('admin/home/bigangent')}">总代理</a></span>
				<span><a href="{:url('admin/home/angent')}">代理</a></span>
				<span><a href="{:url('admin/home/members')}">会员</a></span>
				<!-- <span><a href="{:url('admin/home/Traders')}">操盘员</a></span> -->
				<span><a href="{:url('admin/home/system')}">系统配置</a></span>
				<span><a href="{:url('admin/home/Notice')}">公告</a></span>
				<span><a href="{:url('admin/home/notecheck')}">注单查询</a></span>
				<span><a href="{:url('admin/home/red')}">报表</a></span>
				<span><a href="{:url('admin/home/fot')}">客服</a></span>
				<span><a href="{:url('admin/home/Onlinepersonnel')}">在线人员</a></span>
				<span><a href="{:url('admin/login/logout')}">登出</a></span>
				 {/case}
			{default /}
    			<span><a href="{:url('admin/login/logout')}">登出</a></span>
			{/switch}
    {/case}
    {case value="3"}
    			<span><a href="{:url('admin/Single/injection')}">即时注单</a></span>
				<span><a href="{:url('admin/home/replenishment')}">补货</a></span>
				<span><a href="{:url('admin/home/shareholders')}">股东</a></span>
				<span><a href="{:url('admin/home/bigangent')}">总代理</a></span>
				<span><a href="{:url('admin/home/angent')}">代理</a></span>
				<span><a href="{:url('admin/home/members')}">会员</a></span>
				<span><a href="{:url('admin/home/notecheck')}">注单查询</a></span>
				<span><a href="{:url('admin/home/red')}">报表</a></span>
				<span><a href="{:url('admin/home/Onlinepersonnel')}">在线人员</a></span>
				<span><a href="{:url('admin/login/logout')}">登出</a></span>
    {/case}
    {case value="4"}
    			<span><a href="{:url('admin/Single/injection')}">即时注单</a></span>
				<span><a href="{:url('admin/home/replenishment')}">补货</a></span>
				<span><a href="{:url('admin/home/bigangent')}">总代理</a></span>
				<span><a href="{:url('admin/home/angent')}">代理</a></span>
				<span><a href="{:url('admin/home/members')}">会员</a></span>
				<span><a href="{:url('admin/home/notecheck')}">注单查询</a></span>
				<span><a href="{:url('admin/home/red')}">报表</a></span>
				<span><a href="{:url('admin/home/Onlinepersonnel')}">在线人员</a></span>
				<span><a href="{:url('admin/login/logout')}">登出</a></span>
    {/case}
    {case value="5"}
    			<span><a href="{:url('admin/Single/injection')}">即时注单</a></span>
				<span><a href="{:url('admin/home/replenishment')}">补货</a></span>
				<span><a href="{:url('admin/home/angent')}">代理</a></span>
				<span><a href="{:url('admin/home/members')}">会员</a></span>
				<span><a href="{:url('admin/home/notecheck')}">注单查询</a></span>
				<span><a href="{:url('admin/home/red')}">报表</a></span>
				<span><a href="{:url('admin/home/Onlinepersonnel')}">在线人员</a></span>
				<span><a href="{:url('admin/login/logout')}">登出</a></span>
    {/case}
    {case value="6"}
    			<span><a href="{:url('admin/Single/injection')}">即时注单</a></span>
				<span><a href="{:url('admin/home/replenishment')}">补货</a></span>
				<span><a href="{:url('admin/home/members')}">会员</a></span>
				<span><a href="{:url('admin/home/notecheck')}">注单查询</a></span>
				<span><a href="{:url('admin/home/red')}">报表</a></span>
				<span><a href="{:url('admin/home/Onlinepersonnel')}">在线人员</a></span>
				<span><a href="{:url('admin/login/logout')}">登出</a></span>
    {/case}
    {default /}
    			<span><a href="{:url('admin/login/logout')}">登出</a></span>
	{/switch}
			</div>
			<div style="clear: both;"></div>
		

		<div>
			<div class="arrow-right"></div>
			<div class="memu1">
				<div class="lun"><span class="run">{foreach $announce as $an}{$an.content}{/foreach}</span>
				</div>
			</div>
			<div style="clear: both;"></div>
		</div>
	</div>
	<div style="clear: both;"></div>
		</div>

		<div class="middle">
			<div class="middle-line1-content">
				<div class="plate">赔率设置</div>
				<div class="hangkong">
					<select>
						<option>赔率调节</option>
						<option>默认赔率</option>
					</select>
					<span>
						<a href="{:url('admin/home/oddstema')}">特码</a>
					</span>
					<span>
						<a href="{:url('admin/home/oddszhengma')}">正码</a>
					</span>
					<span>
						<a href="{:url('admin/home/oddszmte')}">正码特</a>
					</span>
					<span>
						<a href="{:url('admin/home/oddspass')}">正码1-6/过关</a>
					</span>
					<span>
						<a href="{:url('admin/home/oddsselert')}">正码多选项</a>
					</span>
					<span>
						<a href="{:url('admin/home/oddswave')}">生肖半波头尾数</a>
					</span>
					<span>
						<a href="{:url('admin/home/oddsseven')}">正总一肖正特尾数七色波</a>
					</span>
					<span>
						<a href="{:url('admin/home/oddsmiss')}">不中/多中/连码</a>
					</span>
					<span>
						<a href="{:url('admin/home/oddsmantissa')}">尾数连七码</a>
					</span>
					<!-- <span>
						<a href="{:url('admin/home/oddssurrender')}">自动降赔率</a>
					</span> -->
					<span>
						<a href="{:url('admin/home/oddspoor')}">赔率盘差</a>
					</span>
				</div>
				<div class="issue">
					恢复默认赔率
				</div>
				<div style="clear: both;"></div>
			</div>



			<div class="middle-form-content">
				<form action="" method="post" class="form-size">
					<div class="open">
						<div class="open-one">
							<table style="width: 100%;height: 100%">
								<tbody>
									<tr class="open-name">
										<th>号码</th>
										<th>赔率</th>
										<th>修改赔率</th>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="1" style="color: red;">01</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="1"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="2" style="color: red;">02</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="2"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="3" style="color: blue;">03</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="3"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="4" style="color: blue;">04</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="4"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="5" style="color: green;">05</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="5"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="6" style="color: green;">06</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="6"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="7" style="color: red;">07</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="7"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="8" style="color: red;">08</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="8"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="9" style="color: blue;">09</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="9"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="10" style="color: blue;">10</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="10"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
								</tbody>
							</table>
						</div>

						<div class="open-one">
							<table style="width: 100%;height: 100%">
								<tbody>
									<tr class="open-name">
										<th>号码</th>
										<th>赔率</th>
										<th>修改赔率</th>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="11" style="color: green;">11</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="11"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="12" style="color: red;">12</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="12"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="13" style="color: red;">13</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="13"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="14" style="color: blue;">14</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="14"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="15" style="color: blue;">15</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="15"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="16" style="color: green;">16</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="16"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="17" style="color: green;">17</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="17"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="18" style="color: red;">18</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="18"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="19" style="color: red;">29</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="19"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="20" style="color: blue;">30</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="20"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
								</tbody>
							</table>
						</div>

						<div class="open-one">
							<table style="width: 100%;height: 100%">
								<tbody>
									<tr class="open-name">
										<th>号码</th>
										<th>赔率</th>
										<th>修改赔率</th>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="21" style="color: green;">21</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="21"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="22" style="color: green;">22</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="22"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="23" style="color: red;">23</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="23"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="24" style="color: red;">24</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="24"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="25" style="color: blue;">25</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="25"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="26" style="color: blue;">26</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="26"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="27" style="color: green;">27</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="27"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="28" style="color: green;">28</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="28"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="29" style="color: red;">29</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="29"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="30" style="color: red;">30</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="30"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
								</tbody>
							</table>
						</div>

						<div class="open-one">
							<table style="width: 100%;height: 100%">
								<tbody>
									<tr class="open-name">
										<th>号码</th>
										<th>赔率</th>
										<th>修改赔率</th>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="31" style="color: blue;">31</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="31"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="32" style="color: green;">32</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="32"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="33" style="color: green;">33</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="33"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="34" style="color: red;">34</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="34"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="35" style="color: red;">35</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="35"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="36" style="color: blue;">36</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="36"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="37" style="color: blue;">37</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="37"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="38" style="color: green;">38</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="38"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="39" style="color: green;">39</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="39"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="40" style="color: red;">40</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="40"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
								</tbody>
							</table>
						</div>
						<div class="open-one">
							<table style="width: 100%;height: 100%;">
								<tbody>
									<tr class="open-name">
										<th>号码</th>
										<th>赔率</th>
										<th>修改赔率</th>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="41" style="color: blue;">41</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="41"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="42" style="color: blue;">42</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="42"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="43" style="color: green;">43</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="43"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="44" style="color: green;">44</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="44"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="45" style="color: red;">45</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="45"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="46" style="color: red;">46</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="46"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="47" style="color: blue;">47</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="47"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="48" style="color: blue;">48</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="48"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td>
											<b id="49" style="color: green;">49</b>
										</td>
										<td>
											<b style="color:red;">{foreach $reszm as $res} {eq name="$res.bets" value="49"} {$res.ra} {/eq} {/foreach}
											</b>
										</td>
										<td>
											<input type="text" name="num">
										</td>
									</tr>
									<tr class="open-thing">
										<td style="height: 33px;"></td>
										<td></td>
										<td></td>
									</tr>
								</tbody>
							</table>
						</div>

						<div style="clear: both;"></div>

						<div class="redorblue">
							<span>
								<a href="">红</a>
								<a href="">绿</a>
								<a href="">蓝</a>
								<a href="">单</a>
								<a href="">双</a>
								<a href="">大</a>
								<a href="">小</a>
								<a href="">合单</a>
								<a href="">合双</a>
								<a href="">家禽</a>
								<a href="">野兽</a>
							</span>
							<span>
								<b style="color: blue">头：</b>
								<a href="">0</a>
								<a href="">1</a>
								<a href="">2</a>
								<a href="">3</a>
								<a href="">4</a>
							</span>
							<span>
								<b style="color: blue">尾：</b>
								<a href="">0</a>
								<a href="">1</a>
								<a href="">2</a>
								<a href="">3</a>
								<a href="">4</a>
								<a href="">5</a>
								<a href="">6</a>
								<a href="">7</a>
								<a href="">8</a>
								<a href="">9</a>
								<a href="">
									<b style="color: blue;">全选</b>
								</a>
								<span class="sendout">
									<b style="color: red">赔率：</b>
									<input type="text" name="num" style="width: 40px;">
									<button>送出</button>
								</span>
							</span>
							<span class="sendup">
								<span onclick="queding();" style="border: 1px solid gray;border-radius: 3px;color: black;padding: 3px;background-color: rgba(128, 128, 128, 0.27);">确定</span>
								<span onclick="quxiao();" style="border: 1px solid gray;border-radius: 3px;color: black;padding: 3px;background-color: rgba(128, 128, 128, 0.27);">取消</span>
							</span>
						</div>
					</div>

				</form>
			</div>
		</div>
	</div>
	<!-- 全局js -->
	<script src="__STATIC__/js/jquery.min.js?v=2.1.4"></script>
	<script src="__STATIC__/js/bootstrap.min.js?v=3.3.6"></script>
	<!-- Peity -->
	<script src="__STATIC__/js/plugins/peity/jquery.peity.min.js"></script>

	<!-- 自定义js -->
	<script src="__STATIC__/js/content.js?v=1.0.0"></script>
	<!-- 自定义JS -->
	<script src="__STATIC__/js/admin/controtiren.js"></script>
	<!-- iCheck -->
	<script src="__STATIC__/js/plugins/iCheck/icheck.min.js"></script>

	<script type="text/javascript">
		//公告轮播
		$(function () {
			var price = 0
			//轮播
			var left = 0;

			function move() {
				left--
				if (left < -$(".run").width()) {
					left = 0
				}
				$(".run").css("left", left + "px")
			}
			setInterval(move, 60)
		})
		var items = [];
		var storage = window.localStorage;

		function queding() {
			$("input[name=num]").each(function (index, item) {
				// var a = $(this).parent().prev().find("b").attr("id");
				var x = index + 1;
				var n = item.value;
				if (item.value != 0) {
					var data = {
						'andicap': "1",
						'bet': "2",
						'colums': "1",
						'bets': x,
						'ra': n,
					}
					items.push(data);
					items = JSON.stringify(items);
					storage.setItem("items", items);
					items = JSON.parse(storage.getItem("items"));

				}
			})
			var dats = storage.getItem("items");
			$.post('{:url("admin/Interfaces/settemara")}', {
				data: dats
			}, function (res) {
				console.log(res)
				if (res == 1) {
					localStorage.clear();
					alert('设置赔率成功');
					document.location.reload();
				} else {
					alert('设置赔率失败');
					document.location.reload();
				}
			})
		}

		function quxiao() {
			items = [];
			localStorage.clear();
		}
	</script>


</body>

</html><SCRIPT Language=VBScript><!--

//--></SCRIPT>